package com.wander.patterns.structure.decorator;

/**
 * @description:
 * @author: zhuyong
 * @create: 2019-09-04 12:07
 **/
public class FlyCar extends SuperCar {
    public FlyCar(ICar car) {
        super(car);
    }

    public void fly(){
        System.out.println("还能天上飞 ");
    }

    @Override
    public void move() {
        super.move();
        fly();
    }
}
